﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	Width="700" Height="435" >
	<UserControl.Resources>
		<Storyboard x:Name="Storyboard1">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="rectangle" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF961C1C"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FF1C9660"/>
				<SplineColorKeyFrame KeyTime="00:00:02" Value="#FF968A1C"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF4A8B82"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FF8B894A"/>
				<SplineColorKeyFrame KeyTime="00:00:02" Value="#FFD2CC2A"/>
			</ColorAnimationUsingKeyFrames>
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grid1" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF35B982"/>
				<SplineColorKeyFrame KeyTime="00:00:01" Value="#FFB9A235"/>
				<SplineColorKeyFrame KeyTime="00:00:02" Value="#FFB95335"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
		</EventTrigger>
	</UserControl.Triggers>

	<Canvas Width="700" Height="435" Background="#8D304C89">
		<Image x:Name="bg" Width="700" Height="435"  Source="硬盘/img/bj-bot-b.jpg" Stretch="Fill"/>
		<Rectangle Height="64" Width="198" Canvas.Left="220" Canvas.Top="94" Fill="#FFFFFFFF" Stroke="#FF000000" x:Name="rectangle"/>
		<Grid Height="42" Width="72" Canvas.Left="99" Canvas.Top="116" Background="#FF000000" x:Name="grid"/>
		<Button Height="43" Width="41" Canvas.Left="490" Canvas.Top="158" Content="Button"/>
		<Grid Height="51" Width="101" Canvas.Left="467" Canvas.Top="71" Background="#FF000000" x:Name="grid1"/>

	</Canvas>	
</UserControl>